home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 July / Macworld (1999-07).dmg / Shareware World / Info / For Developers / Mops 3.4.sea / Mops source / Toolbox classes / GWorld < prev    next >
MacBinary  |  1995-11-23  |  2.1 KB  |  [TEXT/MSET]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: GWorld

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu Nov 23 19:13:17 1995, modified Thu Nov 23 19:13:17 1995, creator 'MSET', type ASCII, 1653 bytes "GWorld" , at 0x6f5 381 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MSET]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 47 57 6f 72 6c 64 | 00 00 00 00 00 00 00 00 |..GWorld|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 53 45 | 54 01 00 00 00 00 00 00 |.TEXTMSE|T.......|
|00000050| 00 00 00 00 00 06 75 00 | 00 01 7d ac da be 9d ac |......u.|..}.....|
|00000060| da be 9d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 35 43 00 00 |........|....5C..|
|00000080| 5c 20 47 57 6f 72 6c 64 | 20 43 6c 61 73 73 0d 5c |\ GWorld| Class.\|
|00000090| 20 65 20 64 20 2d 20 62 | 20 6f 20 79 0d 5c 20 39 | e d - b| o y.\ 9|
|000000a0| 35 31 30 31 33 0d 0d 5c | 20 54 68 69 73 20 6f 6e |51013..\| This on|
|000000b0| 6c 79 20 77 6f 72 6b 73 | 20 69 6e 20 38 2d 62 69 |ly works| in 8-bi|
|000000c0| 74 20 63 6f 6c 6f 75 72 | 20 61 74 20 74 68 65 20 |t colour| at the |
|000000d0| 6d 6f 6d 65 6e 74 0d 5c | 20 52 65 6d 65 6d 62 65 |moment.\| Remembe|
|000000e0| 72 20 74 6f 20 61 6c 6c | 6f 63 61 74 65 20 70 6c |r to all|ocate pl|
|000000f0| 65 6e 74 79 20 6f 66 20 | 6d 65 6d 6f 72 79 20 74 |enty of |memory t|
|00000100| 6f 20 4d 6f 70 73 20 69 | 66 20 79 6f 75 27 72 65 |o Mops i|f you're|
|00000110| 20 75 73 69 6e 67 20 74 | 68 69 73 0d 0d 5c 20 73 | using t|his..\ s|
|00000120| 6f 6d 65 20 75 73 65 66 | 75 6c 20 77 6f 72 64 73 |ome usef|ul words|
|00000130| 0d 0d 70 74 72 09 09 6f | 72 69 67 50 6f 72 74 0d |..ptr..o|rigPort.|
|00000140| 68 61 6e 64 6c 65 09 6f | 72 69 67 44 65 76 69 63 |handle.o|rigDevic|
|00000150| 65 0d 20 20 20 20 20 20 | 20 20 0d 3a 20 45 6e 74 |e. | .: Ent|
|00000160| 65 72 47 57 6f 72 6c 64 | 0d 09 6f 72 69 67 50 6f |erGWorld|..origPo|
|00000170| 72 74 20 6f 72 69 67 44 | 65 76 69 63 65 20 63 61 |rt origD|evice ca|
|00000180| 6c 6c 20 47 65 74 47 57 | 6f 72 6c 64 20 3b 0d 0d |ll GetGW|orld ;..|
|00000190| 3a 20 45 78 69 74 47 57 | 6f 72 6c 64 0d 09 67 65 |: ExitGW|orld..ge|
|000001a0| 74 3a 20 6f 72 69 67 50 | 6f 72 74 20 67 65 74 3a |t: origP|ort get:|
|000001b0| 20 6f 72 69 67 44 65 76 | 69 63 65 20 63 61 6c 6c | origDev|ice call|
|000001c0| 20 53 65 74 47 57 6f 72 | 6c 64 20 3b 0d 0d 0d 3a | SetGWor|ld ;...:|
|000001d0| 63 6c 61 73 73 20 47 57 | 4f 52 4c 44 20 73 75 70 |class GW|ORLD sup|
|000001e0| 65 72 7b 20 6f 62 6a 65 | 63 74 20 7d 0d 09 70 74 |er{ obje|ct }..pt|
|000001f0| 72 09 09 47 57 6f 72 6c | 64 50 74 72 0d 09 68 61 |r..GWorl|dPtr..ha|
|00000200| 6e 64 6c 65 09 50 69 78 | 4d 61 70 0d 09 68 61 6e |ndle.Pix|Map..han|
|00000210| 64 6c 65 09 43 54 61 62 | 6c 65 0d 09 68 61 6e 64 |dle.CTab|le..hand|
|00000220| 6c 65 09 67 44 48 61 6e | 64 6c 65 0d 09 72 65 63 |le.gDHan|dle..rec|
|00000230| 74 09 42 6f 75 6e 64 73 | 0d 20 20 34 09 62 79 74 |t.Bounds|. 4.byt|
|00000240| 65 73 09 66 6c 61 67 73 | 0d 20 20 20 20 20 20 20 |es.flags|. |
|00000250| 20 0d 3a 6d 20 53 45 54 | 42 4f 55 4e 44 53 3a 20 | .:m SET|BOUNDS: |
|00000260| 5c 20 28 20 6c 20 74 20 | 72 20 62 20 2d 2d 20 29 |\ ( l t |r b -- )|
|00000270| 0d 09 70 75 74 3a 20 62 | 6f 75 6e 64 73 20 3b 6d |..put: b|ounds ;m|
|00000280| 0d 0d 3a 6d 20 4e 45 57 | 3a 0d 09 47 57 6f 72 6c |..:m NEW|:..GWorl|
|00000290| 64 50 74 72 20 30 20 6d | 61 6b 65 69 6e 74 20 62 |dPtr 0 m|akeint b|
|000002a0| 6f 75 6e 64 73 20 50 69 | 78 4d 61 70 20 43 54 61 |ounds Pi|xMap CTa|
|000002b0| 62 6c 65 20 66 6c 61 67 | 73 20 63 61 6c 6c 20 4e |ble flag|s call N|
|000002c0| 65 77 47 57 6f 72 6c 64 | 20 3b 6d 0d 0d 3a 6d 20 |ewGWorld| ;m..:m |
|000002d0| 50 45 45 4b 3a 09 5c 20 | 75 73 65 66 75 6c 20 66 |PEEK:.\ |useful f|
|000002e0| 6f 72 20 64 65 62 75 67 | 67 69 6e 67 20 28 72 65 |or debug|ging (re|
|000002f0| 74 75 72 6e 73 20 7a 65 | 72 6f 20 6f 72 20 6e 69 |turns ze|ro or ni|
|00000300| 6c 70 20 69 66 20 47 57 | 6f 72 6c 64 20 6e 6f 74 |lp if GW|orld not|
|00000310| 20 63 72 65 61 74 65 64 | 0d 09 67 65 74 3a 20 47 | created|..get: G|
|00000320| 57 6f 72 6c 64 50 74 72 | 20 2e 20 63 72 20 3b 6d |WorldPtr| . cr ;m|
|00000330| 0d 0d 3a 6d 20 50 45 45 | 4b 50 4d 3a 09 5c 20 64 |..:m PEE|KPM:.\ d|
|00000340| 69 74 74 6f 0d 09 67 65 | 74 3a 20 50 69 78 4d 61 |itto..ge|t: PixMa|
|00000350| 70 20 2e 20 63 72 20 3b | 6d 0d 0d 3a 6d 20 47 45 |p . cr ;|m..:m GE|
|00000360| 54 50 4d 48 41 4e 44 4c | 45 3a 09 09 5c 20 63 72 |TPMHANDL|E:..\ cr|
|00000370| 65 61 74 65 73 20 50 69 | 78 4d 61 70 20 61 6e 64 |eates Pi|xMap and|
|00000380| 20 73 74 6f 72 65 73 20 | 69 74 73 20 68 61 6e 64 | stores |its hand|
|00000390| 6c 65 0d 09 30 20 67 65 | 74 3a 20 47 57 6f 72 6c |le..0 ge|t: GWorl|
|000003a0| 64 50 74 72 20 63 61 6c | 6c 20 47 65 74 47 57 6f |dPtr cal|l GetGWo|
|000003b0| 72 6c 64 50 69 78 4d 61 | 70 20 70 75 74 3a 20 50 |rldPixMa|p put: P|
|000003c0| 69 78 4d 61 70 20 3b 6d | 0d 0d 3a 6d 20 47 45 54 |ixMap ;m|..:m GET|
|000003d0| 47 44 48 41 4e 44 4c 45 | 3a 09 09 5c 20 73 65 74 |GDHANDLE|:..\ set|
|000003e0| 73 20 67 72 61 70 68 69 | 63 20 64 65 76 69 63 65 |s graphi|c device|
|000003f0| 20 68 61 6e 64 6c 65 0d | 09 30 20 67 65 74 3a 20 | handle.|.0 get: |
|00000400| 47 57 6f 72 6c 64 50 74 | 72 20 63 61 6c 6c 20 47 |GWorldPt|r call G|
|00000410| 65 74 47 57 6f 72 6c 64 | 44 65 76 69 63 65 20 70 |etGWorld|Device p|
|00000420| 75 74 3a 20 67 44 48 61 | 6e 64 6c 65 20 3b 6d 0d |ut: gDHa|ndle ;m.|
|00000430| 0d 3a 6d 20 53 45 54 3a | 09 09 09 09 5c 20 6d 61 |.:m SET:|....\ ma|
|00000440| 6b 65 73 20 47 57 6f 72 | 6c 64 20 63 75 72 72 65 |kes GWor|ld curre|
|00000450| 6e 74 20 70 6f 72 74 0d | 09 67 65 74 3a 20 47 57 |nt port.|.get: GW|
|00000460| 6f 72 6c 64 50 74 72 20 | 67 65 74 3a 20 67 44 48 |orldPtr |get: gDH|
|00000470| 61 6e 64 6c 65 20 63 61 | 6c 6c 20 53 65 74 47 57 |andle ca|ll SetGW|
|00000480| 6f 72 6c 64 20 3b 6d 0d | 0d 0d 3a 6d 20 4c 4f 43 |orld ;m.|..:m LOC|
|00000490| 4b 50 49 58 45 4c 53 3a | 09 5c 20 28 20 2d 2d 20 |KPIXELS:|.\ ( -- |
|000004a0| 62 6f 6f 6c 20 29 20 20 | 54 52 55 45 20 69 66 20 |bool ) |TRUE if |
|000004b0| 47 57 6f 72 6c 64 20 72 | 65 61 64 79 20 66 6f 72 |GWorld r|eady for|
|000004c0| 20 64 72 61 77 69 6e 67 | 0d 09 67 65 74 3a 20 50 | drawing|..get: P|
|000004d0| 69 78 4d 61 70 20 20 63 | 61 6c 6c 20 4c 6f 63 6b |ixMap c|all Lock|
|000004e0| 50 69 78 65 6c 73 20 3b | 6d 0d 0d 3a 6d 20 55 4e |Pixels ;|m..:m UN|
|000004f0| 4c 4f 43 4b 50 49 58 45 | 4c 53 3a 0d 09 67 65 74 |LOCKPIXE|LS:..get|
|00000500| 3a 20 50 69 78 4d 61 70 | 20 63 61 6c 6c 20 55 6e |: PixMap| call Un|
|00000510| 6c 6f 63 6b 50 69 78 65 | 6c 73 20 3b 6d 0d 20 20 |lockPixe|ls ;m. |
|00000520| 20 20 20 20 20 20 0d 3a | 6d 20 47 45 54 50 49 58 | .:|m GETPIX|
|00000530| 42 41 53 45 41 44 44 52 | 3a 09 5c 20 28 20 2d 2d |BASEADDR|:.\ ( --|
|00000540| 20 70 74 72 20 29 20 69 | 6e 63 6c 75 64 65 64 20 | ptr ) i|ncluded |
|00000550| 66 6f 72 20 62 6c 6f 63 | 6b 20 6d 6f 76 65 73 20 |for bloc|k moves |
|00000560| 62 65 74 77 65 65 6e 20 | 47 57 6f 72 6c 64 73 0d |between |GWorlds.|
|00000570| 09 30 20 67 65 74 3a 20 | 50 69 78 4d 61 70 20 20 |.0 get: |PixMap |
|00000580| 20 63 61 6c 6c 20 47 65 | 74 50 69 78 42 61 73 65 | call Ge|tPixBase|
|00000590| 41 64 64 72 20 3b 6d 0d | 0d 3a 6d 20 44 49 53 50 |Addr ;m.|.:m DISP|
|000005a0| 4f 53 45 3a 0d 09 67 65 | 74 3a 20 47 57 6f 72 6c |OSE:..ge|t: GWorl|
|000005b0| 64 50 74 72 20 63 61 6c | 6c 20 44 69 73 70 6f 73 |dPtr cal|l Dispos|
|000005c0| 65 47 57 6f 72 6c 64 20 | 3b 6d 0d 0d 3a 6d 20 52 |eGWorld |;m..:m R|
|000005d0| 45 4c 45 41 53 45 3a 09 | 09 09 5c 20 6d 68 20 2d |ELEASE:.|..\ mh -|
|000005e0| 20 6e 6f 72 6d 61 6c 20 | 4d 6f 70 73 20 64 65 73 | normal |Mops des|
|000005f0| 74 72 75 63 74 6f 72 20 | 6d 65 74 68 6f 64 0d 09 |tructor |method..|
|00000600| 64 69 73 70 6f 73 65 3a | 20 73 65 6c 66 20 20 3b |dispose:| self ;|
|00000610| 6d 0d 09 0d 3a 6d 20 43 | 52 45 41 54 45 3a 09 5c |m...:m C|REATE:.\|
|00000620| 20 28 20 6c 20 72 20 74 | 20 62 20 2d 2d 20 29 20 | ( l r t| b -- ) |
|00000630| 71 75 69 63 6b 20 77 61 | 79 20 74 6f 20 6d 61 6b |quick wa|y to mak|
|00000640| 65 20 61 20 47 57 6f 72 | 6c 64 0d 09 73 65 74 42 |e a GWor|ld..setB|
|00000650| 6f 75 6e 64 73 3a 20 73 | 65 6c 66 0d 09 6e 65 77 |ounds: s|elf..new|
|00000660| 3a 20 73 65 6c 66 0d 09 | 67 65 74 50 4d 48 61 6e |: self..|getPMHan|
|00000670| 64 6c 65 3a 20 73 65 6c | 66 0d 09 67 65 74 47 44 |dle: sel|f..getGD|
|00000680| 48 61 6e 64 6c 65 3a 20 | 73 65 6c 66 0d 3b 6d 0d |Handle: |self.;m.|
|00000690| 0d 3a 6d 20 47 45 54 50 | 4f 52 54 50 49 58 4d 41 |.:m GETP|ORTPIXMA|
|000006a0| 50 3a 20 5c 20 63 6f 6d | 70 61 74 69 62 6c 65 20 |P: \ com|patible |
|000006b0| 77 69 74 68 20 47 72 61 | 66 50 6f 72 74 20 63 61 |with Gra|fPort ca|
|000006c0| 6c 6c 20 28 62 69 74 20 | 6f 66 20 61 20 6b 6c 75 |ll (bit |of a klu|
|000006d0| 64 67 65 29 0d 09 67 65 | 74 3a 20 47 57 6f 72 6c |dge)..ge|t: GWorl|
|000006e0| 64 50 74 72 20 32 20 2b | 20 3b 6d 0d 0d 3b 63 6c |dPtr 2 +| ;m..;cl|
|000006f0| 61 73 73 0d 0d 00 00 00 | 00 00 00 00 00 00 00 00 |ass.....|........|
|00000700| 00 00 01 00 00 00 01 42 | 00 00 00 42 00 00 00 3b |.......B|...B...;|
|00000710| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000720| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000730| 06 47 57 6f 72 6c 64 47 | 02 00 00 00 50 61 72 74 |.GWorldG|....Part|
|00000740| 53 49 54 21 00 00 00 00 | 00 00 00 00 00 01 82 4f |SIT!....|.......O|
|00000750| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 b3 66 c2 79 00 00 | 00 00 00 00 01 7d ff ff |...f.y..|.....}..|
|00000780| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000790| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000007a0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000007b0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000007c0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000007d0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000007e0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|000007f0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000800| 00 00 00 3e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...>....|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 06 75 |........|.......u|
|00000830| 00 00 06 75 00 00 00 00 | 00 00 00 00 00 00 00 00 |...u....|........|
|00000840| 00 00 00 00 01 00 00 00 | 01 42 00 00 00 42 00 00 |........|.B...B..|
|00000850| 00 3b 00 6c d1 74 14 92 | 00 00 00 1c 00 32 00 00 |.;.l.t..|.....2..|
|00000860| 4d 49 46 4f 00 00 00 0a | 00 80 00 00 00 00 00 00 |MIFO....|........|
|00000870| 00 6c da 48 08 4d 69 73 | 63 49 6e 66 6f 00 00 00 |.l.H.Mis|cInfo...|
+--------+-------------------------+-------------------------+--------+--------+